package cn.com.wangluotongxin.merchants.service;

import cn.com.wangluotongxin.common.pojo.TenantUser;
import cn.com.wangluotongxin.merchants.dto.GoodsInfoDto;
import cn.com.wangluotongxin.merchants.form.GoodsInfoEditForm;
import cn.com.wangluotongxin.merchants.form.GoodsInfoForm;
import cn.com.wangluotongxin.merchants.model.MerchantsGoodsInfo;
import cn.com.wangluotongxin.merchants.vo.GoodsInfoVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 商户管理-商品信息 服务类
 * </p>
 *
 * @author AutoGenerator
 * @since 2024-06-20
 */
public interface IMerchantsGoodsInfoService extends IService<MerchantsGoodsInfo> {

    IPage<GoodsInfoVo> getPage(GoodsInfoDto dto);

    GoodsInfoVo detail(Integer id);

    MerchantsGoodsInfo add(GoodsInfoForm form, TenantUser tenantUser);

    MerchantsGoodsInfo edit(GoodsInfoEditForm form, TenantUser tenantUser);

    void delete(Integer id);
}
